﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000977 RID: 2423
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class InteractPropCsReq : IMessage<InteractPropCsReq>, IMessage, IEquatable<InteractPropCsReq>, IDeepCloneable<InteractPropCsReq>, IBufferMessage
	{
		// Token: 0x17001EB3 RID: 7859
		// (get) Token: 0x06006CC3 RID: 27843 RVA: 0x00123C4C File Offset: 0x00121E4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<InteractPropCsReq> Parser
		{
			get
			{
				return InteractPropCsReq._parser;
			}
		}

		// Token: 0x17001EB4 RID: 7860
		// (get) Token: 0x06006CC4 RID: 27844 RVA: 0x00123C53 File Offset: 0x00121E53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return InteractPropCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001EB5 RID: 7861
		// (get) Token: 0x06006CC5 RID: 27845 RVA: 0x00123C65 File Offset: 0x00121E65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return InteractPropCsReq.Descriptor;
			}
		}

		// Token: 0x06006CC6 RID: 27846 RVA: 0x00123C6C File Offset: 0x00121E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractPropCsReq()
		{
		}

		// Token: 0x06006CC7 RID: 27847 RVA: 0x00123C74 File Offset: 0x00121E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractPropCsReq(InteractPropCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this.interactId_ = other.interactId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006CC8 RID: 27848 RVA: 0x00123CA5 File Offset: 0x00121EA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public InteractPropCsReq Clone()
		{
			return new InteractPropCsReq(this);
		}

		// Token: 0x17001EB6 RID: 7862
		// (get) Token: 0x06006CC9 RID: 27849 RVA: 0x00123CAD File Offset: 0x00121EAD
		// (set) Token: 0x06006CCA RID: 27850 RVA: 0x00123CB5 File Offset: 0x00121EB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x17001EB7 RID: 7863
		// (get) Token: 0x06006CCB RID: 27851 RVA: 0x00123CBE File Offset: 0x00121EBE
		// (set) Token: 0x06006CCC RID: 27852 RVA: 0x00123CC6 File Offset: 0x00121EC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint InteractId
		{
			get
			{
				return this.interactId_;
			}
			set
			{
				this.interactId_ = value;
			}
		}

		// Token: 0x06006CCD RID: 27853 RVA: 0x00123CCF File Offset: 0x00121ECF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as InteractPropCsReq);
		}

		// Token: 0x06006CCE RID: 27854 RVA: 0x00123CDD File Offset: 0x00121EDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(InteractPropCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && this.InteractId == other.InteractId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006CCF RID: 27855 RVA: 0x00123D1C File Offset: 0x00121F1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this.InteractId != 0U)
			{
				num ^= this.InteractId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006CD0 RID: 27856 RVA: 0x00123D74 File Offset: 0x00121F74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006CD1 RID: 27857 RVA: 0x00123D7C File Offset: 0x00121F7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006CD2 RID: 27858 RVA: 0x00123D88 File Offset: 0x00121F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.InteractId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.InteractId);
			}
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006CD3 RID: 27859 RVA: 0x00123DE4 File Offset: 0x00121FE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this.InteractId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.InteractId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006CD4 RID: 27860 RVA: 0x00123E3C File Offset: 0x0012203C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(InteractPropCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			if (other.InteractId != 0U)
			{
				this.InteractId = other.InteractId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006CD5 RID: 27861 RVA: 0x00123E8C File Offset: 0x0012208C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006CD6 RID: 27862 RVA: 0x00123E98 File Offset: 0x00122098
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.PropEntityId = input.ReadUInt32();
					}
				}
				else
				{
					this.InteractId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002979 RID: 10617
		private static readonly MessageParser<InteractPropCsReq> _parser = new MessageParser<InteractPropCsReq>(() => new InteractPropCsReq());

		// Token: 0x0400297A RID: 10618
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400297B RID: 10619
		public const int PropEntityIdFieldNumber = 10;

		// Token: 0x0400297C RID: 10620
		private uint propEntityId_;

		// Token: 0x0400297D RID: 10621
		public const int InteractIdFieldNumber = 2;

		// Token: 0x0400297E RID: 10622
		private uint interactId_;
	}
}
